package event.model;


class User {
	int id;
	String firstName;
	String nickName;
	String lastName;
	String allergies;

	public User(String firstName, String lastName, String nickName) {
		this.firstName = firstName;
		this.nickName = nickName;
		this.lastName = lastName;
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(firstName).append(" ");
		if (nickName != null && nickName != "")
			sb.append("\"").append(nickName).append("\" ");
		sb.append(lastName);
		return sb.toString();
	}
}